package com.yaokan.devices;

import android.content.Context;

public class yken {

	static yken instance;

	// cmd 为命令码值: 相邻两次码之间的发送，需要间隔半秒钟(500ms以上)
	private native int transmitIR(String cmd);

	static {
		// 加载库
		System.loadLibrary("ykan-jni");
	}

	public static yken getInstance() {
		if (instance == null) {
			instance = new yken();
		}
		return instance;
	}
	
	public String encode(Context ctx ){
		
		return "" ;
	}
	
}
